home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / winnt / xm-winnt.h < prev   
C/C++ Source or Header  |  1994-09-30  |  2KB  |  60 lines

  1. /* Configuration for GNU compiler
  2.    for processor running Windows NT 3.x.
  3.    Copyright (C) 1994 Free Software Foundation, Inc.
  4.    Contributed by Douglas B. Rupp (drupp@cs.washington.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. #include <stdlib.h>
  23. #define USG
  24. #define ONLY_INT_FIELDS
  25. #define USE_PROTOTYPES 1
  26. #define bcmp(a,b,c) memcmp (a,b,c)
  27. #define bcopy(a,b,c) memcpy (b,a,c)
  28. #define bzero(a,b) memset (a,0,b)
  29. #define index  strchr
  30. #define rindex strrchr
  31. #define kill(a,b) raise(b)
  32.  
  33. #define EXECUTABLE_SUFFIX ".exe"
  34. #define PATH_SEPARATOR ';'
  35. #define DIR_SEPARATOR '\\'
  36. #define HAVE_PUTENV 1
  37.  
  38. #define S_IRUSR 0000400
  39. #define S_IWUSR 0000200
  40. #define S_IXUSR 0000100
  41. #define S_IRGRP 0000040
  42. #define S_IWGRP 0000020
  43. #define S_IXGRP 0000010
  44. #define S_IROTH 0000004
  45. #define S_IWOTH 0000002
  46. #define S_IXOTH 0000001
  47. #define S_IRWXU S_IRUSR | S_IWUSR | S_IXUSR
  48. #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
  49. #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
  50.  
  51. #define access       _access
  52. #define close       _close
  53. #define dup       _dup
  54. #define mktemp       _mktemp
  55. #define open       _open
  56. #define read       _read
  57. #define write       _write
  58. #define chmod      _chmod
  59. #define setjmp     _setjmp
  60.